import { Module } from '@nestjs/common';
import { UserController} from '../../controller/user/user.controller';
import { UserService } from '../../service/user.service';
import { HttpModule } from '@nestjs/axios';
import { CommonRedisService } from '../../service/common.redis.service';
import { CommonRequestService } from '../../service/common.request.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserEntity } from '../../entity/user.entity';

@Module({
  imports: [
    HttpModule,
    TypeOrmModule.forFeature([UserEntity]),
  ],
  providers: [UserService, CommonRedisService, CommonRequestService],
  controllers: [UserController]
})
export class UserModule {}
